/*
 *  Copyright (c) 2022 ZhuHai Jieli Technology Co.,Ltd.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/*********************************************************************************************
    *   Filename        : btcontroller_config.h

    *   Description     : 优化代码需要，libs 依赖app 定义变量，由app 定义变量值决定libs 优化

    *   Author          : Bingquan

    *   Email           : bingquan_cai@zh-jieli.com

    *   Last modifiled  : 2018-12-19 16:10

    *   Copyright:(c)JIELI  2011-2017  @ , All Rights Reserved.
*********************************************************************************************/
#ifndef _BTCONTROLLER_CONFIG_H_
#define _BTCONTROLLER_CONFIG_H_

#include "btcontroller_modules.h"

#include "ble/ll_config.h"

#define CONFIG_LE_FEATURES      0 // (LE_ENCRYPTION)
#define CONFIG_LE_ROLES                            (LE_ADV)

#include "classic/lmp_config.h"

#define CONFIG_CL_FEATURES

#define CONFIG_CL_EX_FEATURES

#define TWS_BLE_ESCO_CONNECT // 通话过程进行连接使能

/*
 *-------------------
 * 蓝牙基带运行的模式
 */

struct lp_ws_t {
    u16 lrc_ws_inc;
    u16 lrc_ws_init;
    u16 bt_osc_ws_inc;
    u16 bt_osc_ws_init;
    u8  osc_change_mode;
};

#endif
